﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_DesignDetailBusiness
    {
        Task<PageResult<PB_DesignDetail>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_DesignDetail> GetTheDataAsync(string id);
        Task<List<PB_DesignDetailDTO>> GetDataListAsyncs(string ParentId);
        Task<List<DataTypeReturnInfo>> GetTypeAsyncsInfo(string ParentId);
        Task AddDataAsync(PB_DesignDetail data);
        Task AddDataExlAsync(List<PB_DesignDetail> data);
        Task AddDataExlAsync(List<PB_DesignDetail> data,string id);
        Task UpdateDataExlAsync(PB_DesignDetail   data);
        IQueryable<T> GetQueryable<T>() where T : class, new();
        Task UpdateDataAsync(PB_DesignDetail data);
        Task DeleteDataAsync(List<string> ids);
    }
    

}